package hackthon.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import hackthon.service.TestService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Test {

//    @Autowired
//    public TestService testService;
//
//	@RequestMapping("login")
//	public String index(HttpServletRequest req, HttpServletResponse rep){
//		//System.out.println("!@#$%!#@#@#@#@#@#@#@$@%@^&@@%@&@");
//        String username = req.getParameter("username");
//        String password = req.getParameter("password");
//        if(testService.login(username,password)){
//            return "Test";
//        }
//        return "redirect:/login.jsp";
//	}
}
